home *** CD-ROM | disk | FTP | other *** search
- on SetDcQuit AccuA
- global DcQuit
- set DcQuit to AccuA
- end
-
- on Quitter
- global DcQuit, DcBarrette, SprFondBar, SprFondBarII, SprBoutBar, CastEfface
- if (DcQuit = 1) or (DcBarrette = 0) then
- exit
- end if
- PlayClick()
- set the locV of sprite SprBoutBar to the locV of sprite SprFondBar
- set the locH of sprite SprBoutBar to the locH of sprite SprFondBar
- set the castNum of sprite SprBoutBar to CastEfface
- set the ink of sprite SprBoutBar to 0
- set the locV of sprite SprFondBarII to the locV of sprite SprFondBar
- set the locH of sprite SprFondBarII to the locH of sprite SprFondBar
- set the castNum of sprite SprFondBarII to the number of cast "FNDQUIT"
- PuppetTransit(9, 1, 4, 1)
- updateStage()
- SetDcQuit(1)
- end
-
- on GestQuit
- global SprBoutBar, CastEfface, SprFondBar, mouseDown, DcCursMain
- set AccuG to CastEfface
- if rollOver(SprFondBar) then
- set AccuX to the mouseH
- if AccuX > 500 then
- set AccuG to the number of cast "BoutNonQuit"
- set DcCursMain to 1
- end if
- if AccuX < 200 then
- set AccuG to the number of cast "BoutOuiQuit"
- set DcCursMain to 1
- end if
- end if
- set the castNum of sprite SprBoutBar to AccuG
- end
-
- on NonQuit
- global DcQuit
- if DcQuit = 0 then
- exit
- end if
- PlayClick()
- MacFinQuit()
- end
-
- on OuiQuit
- global DcQuit
- if DcQuit = 0 then
- exit
- end if
- PlayClick()
- MacFinQuit()
- set t to " N_Quitter"
- set C to t & t & "2" & t & "3" & t & "4" & t & "5" & t & "6" & t & "7" & t & "8" & t & "9" & t & "10" & t & "11" & " N_Vide"
- AnimBouton(C)
- RemetAnimBouton("N_Vide")
- GoMovie("NAVIG")
- end
-
- on MacFinQuit
- global TypeBarrette
- PuppetTransit(10, 1, 4, 1)
- set AccuA to chars(TypeBarrette, 10, 16)
- InitBarrette(AccuA)
- updateStage()
- SetDcQuit(0)
- UnLoadReste()
- end
-